Inpsyde\WcEvents\Hooks\ProductHooks S

Total Complexity 26
Dependencies 8
Dependents 1
Total lines 365
Lines of code 153
Logical lines of code 78
Comment lines 162
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
createAfterSaveHook()
S
50 7 29
register()
S
47 2 46
beforeSave()
S
58 4 16
createWcProductGuard()
S
60 3 14
afterSave()
S
65 3 10
registerAfterHooks()
S
73 2 5
preWarmCaches()
S
65 2 10
afterSaveHookNames()
S
65 1 11
__construct()
S
74 1 5
prepareOldProduct()
S
70 1 7